package com.lds.xiaohashu.auth.service;

import com.lds.framework.common.response.Response;
import com.lds.xiaohashu.auth.model.vo.user.UserLoginReqVO;
import com.lds.xiaohashu.auth.model.vo.user.UserPasswordUpdateReqVO;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author lds
 * @since 2024-11-08
 */
public interface AuthService {

    /**
     * 登录与注册
     * @param userLoginReqVO
     * @return
     */
    Response<String> loginAndRegister(UserLoginReqVO userLoginReqVO);

    Response<String> logout();

    Response<String> updatePassword(UserPasswordUpdateReqVO userPasswordUpdateReqVO);

}
